Tegra186: helper functions for CPU rst handler and SMMU ctx offset
authorVarun Wadekar <[email protected]>
Wed, 8 Nov 2017 22:45:08 +0000 (14:45 -0800)
committerVarun Wadekar <[email protected]>
Wed, 23 Jan 2019 18:32:53 +0000 (10:32 -0800)
commit889c07c7b1a9739bcc907ad1f988fa484d22f84c
tree4a8cda1f248cfefb1c2bff43f39ff06ee216d7b1
parentd7be5e2e3af87c059bd692459ce8c4a493f404bb
Tegra186: helper functions for CPU rst handler and SMMU ctx offset

This patch adds a helper function to get the SMMU context's offset
and uses another helper function to get the CPU trampoline offset.
These helper functions are used by the System Suspend entry sequence
to save the SMMU context and CPU reset handler to TZDRAM.

Change-Id: I95e2862fe37ccad00fa48ec165c6e4024df01147
Signed-off-by: Varun Wadekar <[email protected]>
plat/nvidia/tegra/include/t186/tegra186_private.h
plat/nvidia/tegra/soc/t186/plat_psci_handlers.c
plat/nvidia/tegra/soc/t186/plat_trampoline.S